//
//  MDHomeModel.m
//  MvvmDemo
//
//  Created by 吴伟城 on 2018/12/16.
//  Copyright © 2018 吴伟城. All rights reserved.
//

#import "MDHomeModel.h"

@implementation MDHomeModel

- (instancetype)initWithModelKey:(NSString *)key value:(NSString *)value {
  if (self = [self init]) {
    _modelKey = key.copy;
    _modelValue = value.copy;
  }
  return self;
}

- (id)copyWithZone:(NSZone *)zone {
  MDHomeModel *model = [[MDHomeModel allocWithZone:zone] initWithModelKey:_modelKey value:_modelValue];
  return model;
}

@end
